package com.zzzyh.forumsystemclient.dao;

import com.zzzyh.forumsystemclient.model.Notice;
import com.zzzyh.forumsystemclient.model.Notifications;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface NoticeMapper {
    int insert(Notice row);

    int insertSelective(Notice row);

    Notice selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Notice row);

    int updateByPrimaryKeyWithBLOBs(Notice row);

    int updateByPrimaryKey(Notice row);

    List<Notice> getNotice();

    List<Notifications> notifications(@Param("pageNum") Integer pageNum, @Param("pageSize") Integer pageSize, @Param("type") String type);
}